package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itheima.reggie.domain.Order;

import java.util.Date;

public interface OrderService {
    // 下订单新增订单
    void addOrder(Order order);

    // 历史订单
    Page<Order> orderPage(Integer page, Integer pageSize);

    //条件查询订单
    Page<Order> orderList(Integer page, Integer pageSize, Long number, Date orderTimeBegin, Date orderTimeEnd);
}
